
namespace ShoppingCart.Business.Entity
{
	using System;
    using Collections;

    /// <summary>
	/// Represents a Banco in the database.
	/// </summary>
	[Serializable]
	public class Banco : BaseEntity
	{
		/// <summary>
		/// Gets or sets the IdBanco value.
		/// </summary>
		public int IdBanco { get; set; }

		/// <summary>
		/// Gets or sets the Nombre value.
		/// </summary>
		public string Nombre { get; set; }

		/// <summary>
		/// Gets or sets the Descripcion value.
		/// </summary>
		public string Descripcion { get; set; }

        public CuentaCollection Cuentas { get; set; }

        public override string ToString()
        {
            return Nombre;
        }
	}
}
